package com.ani.mydragon.dto.template;

import java.util.*;

public class ListObjTemplate implements PageObjTemplate{

    //data elements
    public String title;

    public String description;

    public String totalPageNumFieldName;

    public String pageNumParamKey;

    //search box
    public String searchParamKey;
    public Boolean haveSearchBox;

    //page divide label
    public String pageDivideLabel;

    //page widgets
    public Map<String, Object> widgets;

    public List<PageObjContainer> objects;

    public ListObjTemplate(
            String title,
            String description,
            String totalPageNumFieldName,
            String pageNumParamKey,
            String searchParamKey,
            Boolean haveSearchBox,
            String pageDivideLabel,
            Map<String, Object> widgets,
            List<PageObjContainer> objects
    ) {
        this.title = title;
        this.description = description;
        this.totalPageNumFieldName = totalPageNumFieldName;
        this.pageNumParamKey = pageNumParamKey;
        this.searchParamKey = searchParamKey;
        this.haveSearchBox = haveSearchBox;
        this.pageDivideLabel = pageDivideLabel;
        this.widgets = widgets;
        this.objects = objects;
    }
}
